import api from "../index";
import urls from "./urls";
// const header = {
//   "Content-Type": "application/json; charset=utf-8",
// };
// const headers = {
//   "Content-Type": "application/x-www-form-urlencoded",
// };
export default {
  // 视频 获取视频分类列表
  getVideoCategory(params) {
    return api.post(urls.getVideoCategory, params);
  },
  // 获取视频详情
  getVideoInfo(params) {
    return api.post(urls.getVideoInfo, params);
  },
  // 获取分类下视频列表
  getVideoList(params) {
    return api.post(urls.getVideoList, params);
  },
};
